export default {
  namespaced: true,
  state: {
    token: '' // 具体定义成什么类型，应该根据业务需求来
  },
  getters: {
    getToken (state) {
      return state.token
    }
  },
  mutations: {
    setToken (state, payload) {
      state.token = payload
    }
  }
}
